import request from '@/utils/request';
// list
export const kechengxinxiList = (params) => {
    return request({
        url: '/kechengxinxi/page',
        method: 'post',
        data: params,
    })
};
export const kechengxinxiDetail = (id) => {
    return request({
        url: '/kechengxinxi/'+id,
        method: 'get',
    })
};
// add
export const kechengxinxiSave = (params) => {
    return request({
        url: '/kechengxinxi',
        method: 'post',
        data: params,
    })
};
// updt
export const kechengxinxiEdit = (params) => {
    return request({
        url: '/kechengxinxi',
        method: 'put',
        data: params,
    })
};
// delete
export const kechengxinxiDelete = (id) => {
    return request({
        url: '/kechengxinxi/'+id,
        method: 'delete',
    })
};
// pldel
export const kechengxinxiDeleteList = (kechengxinxis) => {
    return request({
        url: '/kechengxinxi/deleteList',
        data:{list:kechengxinxis},
        method: 'post',
    })
};
// all
export const kechengxinxiAllList = () => {
    return request({
        url: '/kechengxinxi',
        method: 'get',
    })
};

export const kechengxinxi_tj_leibie = () => {return request({url: '/kechengxinxi/kechengxinxi_tj_leibie',method: 'get',})};export const kechengxinxi_tj_zongrenshu = () => {return request({url: '/kechengxinxi/kechengxinxi_tj_zongrenshu',method: 'get',})};